package com.ruoyi.electronicFence.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.electronicFence.domain.A2ROfEFIntrusion;
import com.ruoyi.electronicFence.domain.ElectronicFence;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.electronicFence.domain.RegionalInfo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
* @author Administrator
* @description 针对表【a2_electronic fence(电子围栏列表)】的数据库操作Service
* @createDate 2025-02-11 13:34:24
*/
public interface ElectronicFenceService  {

    AjaxResult insertOne(ElectronicFence electronicFence);

    AjaxResult updateByrwidAndRegionalId(ElectronicFence electronicFence);

    ElectronicFence selectEleById(Long id);

    List<ElectronicFence> listByPage(String regionalName, Integer qyzt);

    /**
     * @description: 查询其他的区域 如重点活动
     * @author: wsl
     * @date: 2025-02-12 14:17
     * @return: java.util.List<com.ruoyi.electronicFence.domain.RegionalInfo>
     **/
    List<RegionalInfo> selectOtherList();

    /**
     * @description:  根据id 修改状态
     * @author: wsl
     * @date: 2025-02-12 14:27
     * @param: id
     * @return: java.lang.Integer
     **/
    AjaxResult updateqyztById(Long id, Integer qyzt);

    AjaxResult batchUpdateqyzt(List<Long> idList, Integer qyzt);

    List<ElectronicFence> isBreakOrOut(BigDecimal lon, BigDecimal lat, Date baseTime);

    List<A2ROfEFIntrusion> selectjczt(Long rwid, Integer jczt, String tergetName);







}
